package com.example.textview.recycleview;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.example.textview.R;

import java.time.Instant;

public class RecycleActivity extends AppCompatActivity {

    private Button mbtnLiear;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_recycle);
        mbtnLiear=findViewById(R.id.btn_linear);
        mbtnLiear.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent=new Intent(RecycleActivity.this,LinearRecycleActivity.class);
                startActivity(intent);


            }
        });
    }
}